<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
  layout:decorator="layouts/layout" th:with="header='编辑收货交易', subtext='编辑指定收货交易数据'">

<head>
	<title>编辑收货交易</title>
</head>
<body>
	<th:block layout:fragment="content">
		<div class="box">
			<div class="box-body">
				<form id="transForm" name="transForm" th:object="${m}" th:action="@{|${baseUrl}/save${m.id==null?'':'/' + m.id}|}" method="post" class="form-horizontal" novalidate="novalidate">
					<input id="id" type="hidden" name="id" th:field="*{id}" />
					<input id="version" type="hidden" name="version" th:field="*{version}" />
					<div class="row line">
						<div class="col-lg-6">
							<h3 class="page-header">基本设置</h3>
						</div>
					</div>
					
					
                  			<div class="row">
								<div class="col-sm-6">
									<div class="form-group">
										<label class="control-label col-sm-3 mg-top-6 ">交易号</label>
										<div class="col-sm-8 form-control-static">
											<input id="number" name="number" th:value="*{number}" maxlength="20" th:readonly="true" class="form-control" />
										</div>
									</div>
								</div>
						   </div>		
                  			<div class="row">
								<div class="col-sm-6">
									<div class="form-group">
										<label class="control-label col-sm-3 mg-top-6 ">物料</label>
										<div class="col-sm-8 form-control-static">
											<input id="materialCode" name="materialCode" th:value="*{materialCode}" maxlength="20"  th:readonly="true" class="form-control" />
										</div>
									</div>
								</div>
						   </div>		
                  			<div class="row">
								<div class="col-sm-6">
									<div class="form-group">
										<label class="control-label col-sm-3 mg-top-6 ">物料名称</label>
										<div class="col-sm-8 form-control-static">
											<input id="materialName" name="materialName" th:value="*{materialName}" maxlength="20" th:readonly="true" class="form-control" />
										</div>
									</div>
								</div>
						   </div>		
                  			<div class="row">
								<div class="col-sm-6">
									<div class="form-group">
										<label class="control-label col-sm-3 mg-top-6 ">单号</label>
										<div class="col-sm-8 form-control-static">
											<input id="docNumber" name="docNumber" th:value="*{docNumber}" maxlength="20" th:readonly="true" class="form-control" />
										</div>
									</div>
								</div>
						   </div>		
                  			<div class="row">
								<div class="col-sm-6">
									<div class="form-group">
										<label class="control-label col-sm-3 mg-top-6 ">单证类型</label>
										<div class="col-sm-8 form-control-static">
											<input id="docType" name="docType" th:value="*{docType}" maxlength="20" th:readonly="true" class="form-control" />
										</div>
									</div>
								</div>
						   </div>		
                  			<div class="row">
								<div class="col-sm-6">
									<div class="form-group">
										<label class="control-label col-sm-3 mg-top-6 ">单证行号</label>
										<div class="col-sm-8 form-control-static">
											<input id="docLinenumber" name="docLinenumber" th:value="*{docLinenumber}" maxlength="20" th:readonly="true" class="form-control" />
										</div>
									</div>
								</div>
						   </div>		
                  			<div class="row">
								<div class="col-sm-6">
									<div class="form-group">
										<label class="control-label col-sm-3 mg-top-6 ">订单数量</label>
										<div class="col-sm-8 form-control-static">
											<input id="qtyOrdered" name="qtyOrdered" th:value="*{qtyOrdered}" maxlength="20" th:readonly="true" class="form-control" />
										</div>
									</div>
								</div>
						   </div>		
                  			<div class="row">
								<div class="col-sm-6">
									<div class="form-group">
										<label class="control-label col-sm-3 mg-top-6 ">收货数量</label>
										<div class="col-sm-8 form-control-static">
											<input id="toQtyTrans" name="toQtyTrans" th:value="*{toQtyTrans}" maxlength="20"  th:readonly="true" class="form-control" />
										</div>
									</div>
								</div>
						   </div>		
                  			<div class="row">
								<div class="col-sm-6">
									<div class="form-group">
										<label class="control-label col-sm-3 mg-top-6 ">单位</label>
										<div class="col-sm-8 form-control-static">
											<input id="uomCode" name="uomCode" th:value="*{uomCode}" maxlength="20" th:readonly="true" class="form-control" />
										</div>
									</div>
								</div>
						   </div>		
                  			<div class="row">
								<div class="col-sm-6">
									<div class="form-group">
										<label class="control-label col-sm-3 mg-top-6 ">批号</label>
										<div class="col-sm-8 form-control-static">
											<input id="fromLotattr05" name="fromLotattr05" th:value="*{fromLotattr05}" maxlength="20" th:readonly="true" class="form-control" />
										</div>
									</div>
								</div>
						   </div>			
                  			<div class="row">
								<div class="col-sm-6">
									<div class="form-group">
										<label class="control-label col-sm-3 mg-top-6 ">收货库位</label>
										<div class="col-sm-8 form-control-static">
											<input id="toLocCode" name="toLocCode" th:value="*{toLocCode}" maxlength="20" th:readonly="true" class="form-control" />
										</div>
									</div>
								</div>
						   </div>		
                  			<div class="row">
								<div class="col-sm-6">
									<div class="form-group">
										<label class="control-label col-sm-3 mg-top-6 ">箱码</label>
										<div class="col-sm-8 form-control-static">
											<input id="toTraceNumber" name="toTraceNumber" th:value="*{toTraceNumber}" maxlength="20" th:readonly="true" class="form-control" />
										</div>
									</div>
								</div>
						   </div>			
                  			<div class="row">
								<div class="col-sm-6">
									<div class="form-group">
										<label class="control-label col-sm-3 mg-top-6 ">容器编码</label>
										<div class="col-sm-8 form-control-static">
											<input id="toContainNumber" name="toContainNumber" th:value="*{toContainNumber}" maxlength="20" th:readonly="true" class="form-control" />
										</div>
									</div>
								</div>
						   </div>	
                  			<div class="row">
								<div class="col-sm-6">
									<div class="form-group">
										<label class="control-label col-sm-3 mg-top-6 ">交易时间</label>
										<div class="col-sm-8 form-control-static">
											<input id="openTime" name="openTime" th:value="*{openTime}" maxlength="20" th:readonly="true" class="form-control" />
										</div>
									</div>
								</div>
						   </div>		
	              	
					  	   <div class="hr-line-dashed"></div>
						   <div class="form-group">
								<div class="text-center">
									<a class="btn btn-default " th:href="@{|${baseUrl}|}"> <i
										class="fa fa-fw fa-reply"></i> 返回
									</a>
									<button type="submit" class="btn btn-primary">
										<i class="fa fa-fw  fa-save"></i> 保存
									</button>
								</div>
						  </div>	
				</form>
			</div>
		</div>
	</th:block>
	<th:block layout:fragment="scripts">
		<script th:replace="layouts/fragments/validatejs :: validate"></script>
		
		<script th:inline="javascript"></script>
		
		<script th:src="@{|${theme}/js/app/inbound/recvtrans_form.js?v=${applicationVersion}|}" th:inline="javascript">
		</script>
	</th:block>
</body>

</html>